from django.db import models
# Create your models here.
class ClassInfoFront(models.Model):
    type=models.CharField(max_length=20,verbose_name="课程类型",default="")
    name=models.CharField(max_length=20,verbose_name="课程名字",default="")
    teacher=models.CharField(max_length=20,verbose_name="讲师",default="")
    academy=models.CharField(max_length=20,verbose_name="学院",default="")
    time=models.CharField(max_length=50,verbose_name="开课时间",default="")
    info=models.TextField(max_length=200,verbose_name="课程简介",default="")
    pic_address=models.CharField(max_length=40,verbose_name="图片存储路径",default="")